﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Common.Infrastructure
{
    [AttributeUsage(AttributeTargets.All, Inherited = true)]
    public class EnumSortIndexAttribute : Attribute
    {
        private int sortIndex = 0;
       
        public EnumSortIndexAttribute()
            : base()
        {
        }

        public EnumSortIndexAttribute(int sortIndex)
            : base()
        {
            this.sortIndex = sortIndex;
        }

        public int SortIndex
        {
            get { return sortIndex; }
        }
    }
}
